package com.letoken.platform.repo.app.po;


import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import lombok.Getter;
import lombok.Setter;

import java.math.BigDecimal;
import java.time.LocalDateTime;

@Getter
@Setter
@TableName("red_envelopes")
public class RedEnvelope extends Model<RedEnvelope> {


    private Integer id;
    private Integer owner;
    private String target;
    private BigDecimal money;
    @TableField("`desc`")
    private String desc;
    private Integer type;
    private Integer status;
    private Integer number;
    @TableField("created_at")
    private LocalDateTime createdAt;
}
